Skip to content

Port upstream 0.55.0: scale single-quota tray icons - #376

Merged
Finesssee merged 2 commits into
mainfrom
port/055-single-quota-icon
Aug 24, 2026
Merged

Port upstream 0.55.0: scale single-quota tray icons#376
Finesssee merged 2 commits into
mainfrom
port/055-single-quota-icon

Conversation

@Finesssee

Copy link
Copy Markdown
Collaborator

Summary

  • port upstream CodexBar v0.55.0 single-quota icon scaling from Fix single-quota menu bar icon scaling steipete/CodexBar#3155
  • when a provider has only one meaningful quota, render it as one full-width tray meter instead of pairing it with an unavailable/duplicated second lane
  • cover the case where the sole meaningful quota arrives in the secondary slot

Upstream evidence

Validation

  • cargo test --manifest-path apps/desktop-tauri/src-tauri/Cargo.toml selected_tray_percent --no-fail-fast -> 4 passed
  • cargo test --manifest-path apps/desktop-tauri/src-tauri/Cargo.toml meaningful --no-fail-fast -> 2 passed
  • focused rustfmt and git diff --check -> pass

Scope

Isolated Windows tray presentation port. Fresh Windows CUA proof remains part of the final v0.55 UI closure gate.

@Finesssee

Finesssee commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator Author

Thermo-nuclear re-review

Previous finding is closed: two-lane tray selection now lives beside canonical metric selection and chooses a distinct companion lane instead of blindly re-emitting secondary. The informational-primary + secondary + tertiary duplicate regression passes, as do strict desktop Clippy checks.

Verdict: APPROVED.

@Finesssee
Finesssee force-pushed the port/055-single-quota-icon branch from c2e4f3c to e24a79d Compare August 24, 2026 20:59
@Finesssee
Finesssee merged commit 6894f53 into main Aug 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant